<?php
require_once 'class/weapon.php';
require_once 'class/handgun.php';
require_once 'class/sniper.php';
require_once 'class/factory.php';

$factory = new Factory();

$handgun = $factory->getWeapon('handgun');

$sniper = $factory->getWeapon('sniper');

$handgun->display();
echo '<br/>';

$sniper->display();

//

